/**
* @author maze | guavestudios.com
* @license MIT License see LICENSE.TXT
* @version 0.1
*/

package com.guavestudios.fcon.core {
	import com.guavestudios.fcon.plugins.IConstantsProvider;

	/**
	* The PathParser can parse paths to specific objects suppied by string
	*/
	public interface IPathParser {
		
		function set constants(val:IConstantsProvider):void;
		function get constants():IConstantsProvider;

		/**
		* Gets the root navigate object
		* @return
		*/
		function getNavigateObject():Object;
		/**
		* Sets the root navigate object
		* @param	pnavigateObject
		*/
		function setNavigateObject(pnavigateObject:Object):void;
		/**
		* Parse a path and return the found elements
		* @param	path
		* @return	array of PathElements
		* @see	com.guavestudios.fcon.core.PathElement
		*/
		function parse(path:String):Array;

		
	}
	
}
